package com.yellowpage.client.data;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import org.hibernate.annotations.GenericGenerator;


/**
 * NspUserPerson entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="NSP_USER_PERSON")

public class NspUserPerson  implements java.io.Serializable {


    // Fields    

     private Long id;
     private String mobileNo;
     private String comAddr;
     private String comUser;
     private String comtel;
     private String zipcode;
     private String merchatId;
     private String attentionStock;
     private Timestamp attentionTime;
     private Timestamp cancelTime;
     private String attentionPrice;
     private String classSequence;
     private String submitter;
     private Timestamp submitTime;
     private String updateUser;
     private Timestamp updateTime;
     private String description;


    // Constructors

    /** default constructor */
    public NspUserPerson() {
    }

    
    /** full constructor */
    public NspUserPerson(String mobileNo, String comAddr, String comUser, String comtel, String zipcode, String merchatId, String attentionStock, Timestamp attentionTime, Timestamp cancelTime, String attentionPrice, String classSequence, String submitter, Timestamp submitTime, String updateUser, Timestamp updateTime, String description) {
        this.mobileNo = mobileNo;
        this.comAddr = comAddr;
        this.comUser = comUser;
        this.comtel = comtel;
        this.zipcode = zipcode;
        this.merchatId = merchatId;
        this.attentionStock = attentionStock;
        this.attentionTime = attentionTime;
        this.cancelTime = cancelTime;
        this.attentionPrice = attentionPrice;
        this.classSequence = classSequence;
        this.submitter = submitter;
        this.submitTime = submitTime;
        this.updateUser = updateUser;
        this.updateTime = updateTime;
        this.description = description;
    }

   
    // Property accessors
    @GenericGenerator(name="generator", strategy="assigned")
    @Id
    @GeneratedValue(generator="generator")
    
    @Column(name="ID", unique=true, nullable=false,precision = 20, scale = 0)

    public Long getId() {
		return id;
	}


	public void setId(Long id) {
		this.id = id;
	}
    
    @Column(name="MOBILENO", length=65535)

    public String getMobileNo() {
        return this.mobileNo;
    }
    
   


	public void setMobileNo(String mobileNo) {
        this.mobileNo = mobileNo;
    }
    
    @Column(name="COMADDR", length=65535)

    public String getComAddr() {
        return this.comAddr;
    }
    
    public void setComAddr(String comAddr) {
        this.comAddr = comAddr;
    }
    
    @Column(name="COMUSER", length=65535)

    public String getComUser() {
        return this.comUser;
    }
    
    public void setComUser(String comUser) {
        this.comUser = comUser;
    }
    
    @Column(name="COMTEL", length=65535)

    public String getComtel() {
        return this.comtel;
    }
    
    public void setComtel(String comtel) {
        this.comtel = comtel;
    }
    
    @Column(name="ZIPCODE", length=65535)

    public String getZipcode() {
        return this.zipcode;
    }
    
    public void setZipcode(String zipcode) {
        this.zipcode = zipcode;
    }
    
    @Column(name="MERCHATID", length=65535)

    public String getMerchatId() {
        return this.merchatId;
    }
    
    public void setMerchatId(String merchatId) {
        this.merchatId = merchatId;
    }
    
    @Column(name="ATTENTIONSTOCK", length=65535)

    public String getAttentionStock() {
        return this.attentionStock;
    }
    
    public void setAttentionStock(String attentionStock) {
        this.attentionStock = attentionStock;
    }
    
    @Column(name="ATTENTIONTIME", length=0)

    public Timestamp getAttentionTime() {
        return this.attentionTime;
    }
    
    public void setAttentionTime(Timestamp attentionTime) {
        this.attentionTime = attentionTime;
    }
    
    @Column(name="CANCELTIME", length=0)

    public Timestamp getCancelTime() {
        return this.cancelTime;
    }
    
    public void setCancelTime(Timestamp cancelTime) {
        this.cancelTime = cancelTime;
    }
    
    @Column(name="ATTENTIONPRICE", length=65535)

    public String getAttentionPrice() {
        return this.attentionPrice;
    }
    
    public void setAttentionPrice(String attentionPrice) {
        this.attentionPrice = attentionPrice;
    }
    
    @Column(name="CLASSSEQUENCE", length=65535)

    public String getClassSequence() {
        return this.classSequence;
    }
    
    public void setClassSequence(String classSequence) {
        this.classSequence = classSequence;
    }
    
    @Column(name="SUBMITTER", length=65535)

    public String getSubmitter() {
        return this.submitter;
    }
    
    public void setSubmitter(String submitter) {
        this.submitter = submitter;
    }
    
    @Column(name="SUBMITTIME", length=0)

    public Timestamp getSubmitTime() {
        return this.submitTime;
    }
    
    public void setSubmitTime(Timestamp submitTime) {
        this.submitTime = submitTime;
    }
    
    @Column(name="UPDATEUSER", length=65535)

    public String getUpdateUser() {
        return this.updateUser;
    }
    
    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }
    
    @Column(name="UPDATETIME", length=0)

    public Timestamp getUpdateTime() {
        return this.updateTime;
    }
    
    public void setUpdateTime(Timestamp updateTime) {
        this.updateTime = updateTime;
    }


    
    @Column(name="DESCRIPTION", length=65535)


	public String getDescription() {
		return description;
	}


	public void setDescription(String description) {
		this.description = description;
	}
   








}